#include "StdAfx.h"
#include "errorInfo.h"


namespace DSP
{
	errorInfo::errorInfo(void) : erCode(S_OK)
	{
	}

	errorInfo::errorInfo(const char* w, HRESULT e) : exception(w), erCode(e)
	{
	}

	errorInfo::~errorInfo(void)
	{
	}

	const char* errorInfo::what() const
	{
		return exception::what();
	}

	HRESULT errorInfo::getErCode() const
	{
		return erCode;
	}
}